<!DOCTYPE html>
<html>
<head>
<link href='../../dist/fullcalendar.css' rel='stylesheet' />
<link href='../../dist/fullcalendar.print.css' rel='stylesheet' media='print' />
<script src='../../node_modules/jquery/dist/jquery.js'></script>
<script src='../../node_modules/moment/moment.js'></script>
<script src='../../dist/fullcalendar.js'></script>
<script>

  $(document).ready(function() {

    var date = new Date();
    var d = date.getDate();
    var m = date.getMonth();
    var y = date.getFullYear();

    $('#calendar').fullCalendar({
      headerToolbar: {
        left: 'prev,next today',
        center: 'title',
        right: 'month,week,dayGridWeek,day,dayGridDay'
      },
      editable: true,

      year: 2013,
      month: 6, // july

      //weekNumbers: true,
      direction: 'rtl',
      //selectable: true,
      //firstDay: 2,
      //weekends: false,
      hiddenDays: [ 4 ], // thursday

      events: [
        {
          title: '1 Day',
          start: new Date(2013, 6, 17)
        },
        {
          title: '2 Day',
          start: new Date(2013, 6, 17),
          end: new Date(2013, 6, 18)
        },
        {
          title: '3 Day',
          start: new Date(2013, 6, 17),
          end: new Date(2013, 6, 19)
        },
        {
          title: '1 Day IN GAP',
          start: new Date(2013, 6, 18) // won't be visible
        }
      ]

    });

  });

</script>
<style>

  body {
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif;
    }

  #calendar {
    width: 900px;
    margin: 0 auto;
    }

</style>
</head>
<body>
<div id='calendar'></div>
</body>
</html>
